package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 身份认证列表对象 relation
 * 
 * @author rss
 * @date 2023-09-03
 */
public class Relation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long applicationId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目关键字 */
    @Excel(name = "项目关键字")
    private String password;

    /** 项目简介 */
    @Excel(name = "项目简介")
    private String introduction;

    /** 数据产品使用途径 */
    @Excel(name = "数据产品使用途径")
    private String access;

    /** 申请 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请", width = 30, dateFormat = "yyyy-MM-dd")
    private Date apply;

    /** 验证 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验证", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verification;

    /** 智能合约调用 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "智能合约调用", width = 30, dateFormat = "yyyy-MM-dd")
    private Date chainCode;

    /** 0/1 */
    @Excel(name = "0/1")
    private Long mark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApplicationId(Long applicationId) 
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId() 
    {
        return applicationId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setAccess(String access) 
    {
        this.access = access;
    }

    public String getAccess() 
    {
        return access;
    }
    public void setApply(Date apply) 
    {
        this.apply = apply;
    }

    public Date getApply() 
    {
        return apply;
    }
    public void setVerification(Date verification) 
    {
        this.verification = verification;
    }

    public Date getVerification() 
    {
        return verification;
    }
    public void setChainCode(Date chainCode) 
    {
        this.chainCode = chainCode;
    }

    public Date getChainCode() 
    {
        return chainCode;
    }
    public void setMark(Long mark) 
    {
        this.mark = mark;
    }

    public Long getMark() 
    {
        return mark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applicationId", getApplicationId())
            .append("productId", getProductId())
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("password", getPassword())
            .append("introduction", getIntroduction())
            .append("access", getAccess())
            .append("apply", getApply())
            .append("verification", getVerification())
            .append("chainCode", getChainCode())
            .append("mark", getMark())
            .toString();
    }
}
